UPDATE C1_ORG SET END_DATE = SYSDATE, DATA_STATE_CODE = '0' WHERE
INSTR(','||:orgIds||',', ','||ORG_ID||',') > 0